from utils.general import strip_optimizer
model_path=r"/Users/edy/Data/DB/temp_model/DB_81.pt"  #会覆盖它
strip_optimizer(model_path)